package com.sf.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 集货团信息Example类
 * @author 604625
 * 
 */
public class CollectInfoExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public CollectInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMktIdIsNull() {
            addCriterion("MKT_ID is null");
            return (Criteria) this;
        }

        public Criteria andMktIdIsNotNull() {
            addCriterion("MKT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andMktIdEqualTo(String value) {
            addCriterion("MKT_ID =", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdNotEqualTo(String value) {
            addCriterion("MKT_ID <>", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdGreaterThan(String value) {
            addCriterion("MKT_ID >", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdGreaterThanOrEqualTo(String value) {
            addCriterion("MKT_ID >=", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdLessThan(String value) {
            addCriterion("MKT_ID <", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdLessThanOrEqualTo(String value) {
            addCriterion("MKT_ID <=", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdLike(String value) {
            addCriterion("MKT_ID like", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdNotLike(String value) {
            addCriterion("MKT_ID not like", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdIn(List<String> values) {
            addCriterion("MKT_ID in", values, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdNotIn(List<String> values) {
            addCriterion("MKT_ID not in", values, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdBetween(String value1, String value2) {
            addCriterion("MKT_ID between", value1, value2, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdNotBetween(String value1, String value2) {
            addCriterion("MKT_ID not between", value1, value2, "mktId");
            return (Criteria) this;
        }

        public Criteria andStartTmIsNull() {
            addCriterion("start_tm is null");
            return (Criteria) this;
        }

        public Criteria andStartTmIsNotNull() {
            addCriterion("start_tm is not null");
            return (Criteria) this;
        }

        public Criteria andStartTmEqualTo(Date value) {
            addCriterion("start_tm =", value, "startTm");
            return (Criteria) this;
        }

        public Criteria andStartTmNotEqualTo(Date value) {
            addCriterion("start_tm <>", value, "startTm");
            return (Criteria) this;
        }

        public Criteria andStartTmGreaterThan(Date value) {
            addCriterion("start_tm >", value, "startTm");
            return (Criteria) this;
        }

        public Criteria andStartTmGreaterThanOrEqualTo(Date value) {
            addCriterion("start_tm >=", value, "startTm");
            return (Criteria) this;
        }

        public Criteria andStartTmLessThan(Date value) {
            addCriterion("start_tm <", value, "startTm");
            return (Criteria) this;
        }

        public Criteria andStartTmLessThanOrEqualTo(Date value) {
            addCriterion("start_tm <=", value, "startTm");
            return (Criteria) this;
        }

        public Criteria andStartTmIn(List<Date> values) {
            addCriterion("start_tm in", values, "startTm");
            return (Criteria) this;
        }

        public Criteria andStartTmNotIn(List<Date> values) {
            addCriterion("start_tm not in", values, "startTm");
            return (Criteria) this;
        }

        public Criteria andStartTmBetween(Date value1, Date value2) {
            addCriterion("start_tm between", value1, value2, "startTm");
            return (Criteria) this;
        }

        public Criteria andStartTmNotBetween(Date value1, Date value2) {
            addCriterion("start_tm not between", value1, value2, "startTm");
            return (Criteria) this;
        }

        public Criteria andEndTmIsNull() {
            addCriterion("end_tm is null");
            return (Criteria) this;
        }

        public Criteria andEndTmIsNotNull() {
            addCriterion("end_tm is not null");
            return (Criteria) this;
        }

        public Criteria andEndTmEqualTo(Date value) {
            addCriterion("end_tm =", value, "endTm");
            return (Criteria) this;
        }

        public Criteria andEndTmNotEqualTo(Date value) {
            addCriterion("end_tm <>", value, "endTm");
            return (Criteria) this;
        }

        public Criteria andEndTmGreaterThan(Date value) {
            addCriterion("end_tm >", value, "endTm");
            return (Criteria) this;
        }

        public Criteria andEndTmGreaterThanOrEqualTo(Date value) {
            addCriterion("end_tm >=", value, "endTm");
            return (Criteria) this;
        }

        public Criteria andEndTmLessThan(Date value) {
            addCriterion("end_tm <", value, "endTm");
            return (Criteria) this;
        }

        public Criteria andEndTmLessThanOrEqualTo(Date value) {
            addCriterion("end_tm <=", value, "endTm");
            return (Criteria) this;
        }

        public Criteria andEndTmIn(List<Date> values) {
            addCriterion("end_tm in", values, "endTm");
            return (Criteria) this;
        }

        public Criteria andEndTmNotIn(List<Date> values) {
            addCriterion("end_tm not in", values, "endTm");
            return (Criteria) this;
        }

        public Criteria andEndTmBetween(Date value1, Date value2) {
            addCriterion("end_tm between", value1, value2, "endTm");
            return (Criteria) this;
        }

        public Criteria andEndTmNotBetween(Date value1, Date value2) {
            addCriterion("end_tm not between", value1, value2, "endTm");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andMinMailIsNull() {
            addCriterion("min_mail is null");
            return (Criteria) this;
        }

        public Criteria andMinMailIsNotNull() {
            addCriterion("min_mail is not null");
            return (Criteria) this;
        }

        public Criteria andMinMailEqualTo(Double value) {
            addCriterion("min_mail =", value, "minMail");
            return (Criteria) this;
        }

        public Criteria andMinMailNotEqualTo(Double value) {
            addCriterion("min_mail <>", value, "minMail");
            return (Criteria) this;
        }

        public Criteria andMinMailGreaterThan(Double value) {
            addCriterion("min_mail >", value, "minMail");
            return (Criteria) this;
        }

        public Criteria andMinMailGreaterThanOrEqualTo(Double value) {
            addCriterion("min_mail >=", value, "minMail");
            return (Criteria) this;
        }

        public Criteria andMinMailLessThan(Double value) {
            addCriterion("min_mail <", value, "minMail");
            return (Criteria) this;
        }

        public Criteria andMinMailLessThanOrEqualTo(Double value) {
            addCriterion("min_mail <=", value, "minMail");
            return (Criteria) this;
        }

        public Criteria andMinMailIn(List<Double> values) {
            addCriterion("min_mail in", values, "minMail");
            return (Criteria) this;
        }

        public Criteria andMinMailNotIn(List<Double> values) {
            addCriterion("min_mail not in", values, "minMail");
            return (Criteria) this;
        }

        public Criteria andMinMailBetween(Double value1, Double value2) {
            addCriterion("min_mail between", value1, value2, "minMail");
            return (Criteria) this;
        }

        public Criteria andMinMailNotBetween(Double value1, Double value2) {
            addCriterion("min_mail not between", value1, value2, "minMail");
            return (Criteria) this;
        }

        public Criteria andMinPkgIsNull() {
            addCriterion("min_pkg is null");
            return (Criteria) this;
        }

        public Criteria andMinPkgIsNotNull() {
            addCriterion("min_pkg is not null");
            return (Criteria) this;
        }

        public Criteria andMinPkgEqualTo(Double value) {
            addCriterion("min_pkg =", value, "minPkg");
            return (Criteria) this;
        }

        public Criteria andMinPkgNotEqualTo(Double value) {
            addCriterion("min_pkg <>", value, "minPkg");
            return (Criteria) this;
        }

        public Criteria andMinPkgGreaterThan(Double value) {
            addCriterion("min_pkg >", value, "minPkg");
            return (Criteria) this;
        }

        public Criteria andMinPkgGreaterThanOrEqualTo(Double value) {
            addCriterion("min_pkg >=", value, "minPkg");
            return (Criteria) this;
        }

        public Criteria andMinPkgLessThan(Double value) {
            addCriterion("min_pkg <", value, "minPkg");
            return (Criteria) this;
        }

        public Criteria andMinPkgLessThanOrEqualTo(Double value) {
            addCriterion("min_pkg <=", value, "minPkg");
            return (Criteria) this;
        }

        public Criteria andMinPkgIn(List<Double> values) {
            addCriterion("min_pkg in", values, "minPkg");
            return (Criteria) this;
        }

        public Criteria andMinPkgNotIn(List<Double> values) {
            addCriterion("min_pkg not in", values, "minPkg");
            return (Criteria) this;
        }

        public Criteria andMinPkgBetween(Double value1, Double value2) {
            addCriterion("min_pkg between", value1, value2, "minPkg");
            return (Criteria) this;
        }

        public Criteria andMinPkgNotBetween(Double value1, Double value2) {
            addCriterion("min_pkg not between", value1, value2, "minPkg");
            return (Criteria) this;
        }

        public Criteria andMaxPkgIsNull() {
            addCriterion("max_Pkg is null");
            return (Criteria) this;
        }

        public Criteria andMaxPkgIsNotNull() {
            addCriterion("max_Pkg is not null");
            return (Criteria) this;
        }

        public Criteria andMaxPkgEqualTo(Double value) {
            addCriterion("max_Pkg =", value, "maxPkg");
            return (Criteria) this;
        }

        public Criteria andMaxPkgNotEqualTo(Double value) {
            addCriterion("max_Pkg <>", value, "maxPkg");
            return (Criteria) this;
        }

        public Criteria andMaxPkgGreaterThan(Double value) {
            addCriterion("max_Pkg >", value, "maxPkg");
            return (Criteria) this;
        }

        public Criteria andMaxPkgGreaterThanOrEqualTo(Double value) {
            addCriterion("max_Pkg >=", value, "maxPkg");
            return (Criteria) this;
        }

        public Criteria andMaxPkgLessThan(Double value) {
            addCriterion("max_Pkg <", value, "maxPkg");
            return (Criteria) this;
        }

        public Criteria andMaxPkgLessThanOrEqualTo(Double value) {
            addCriterion("max_Pkg <=", value, "maxPkg");
            return (Criteria) this;
        }

        public Criteria andMaxPkgIn(List<Double> values) {
            addCriterion("max_Pkg in", values, "maxPkg");
            return (Criteria) this;
        }

        public Criteria andMaxPkgNotIn(List<Double> values) {
            addCriterion("max_Pkg not in", values, "maxPkg");
            return (Criteria) this;
        }

        public Criteria andMaxPkgBetween(Double value1, Double value2) {
            addCriterion("max_Pkg between", value1, value2, "maxPkg");
            return (Criteria) this;
        }

        public Criteria andMaxPkgNotBetween(Double value1, Double value2) {
            addCriterion("max_Pkg not between", value1, value2, "maxPkg");
            return (Criteria) this;
        }

        public Criteria andMinPriceNoteIsNull() {
            addCriterion("min_price_note is null");
            return (Criteria) this;
        }

        public Criteria andMinPriceNoteIsNotNull() {
            addCriterion("min_price_note is not null");
            return (Criteria) this;
        }

        public Criteria andMinPriceNoteEqualTo(String value) {
            addCriterion("min_price_note =", value, "minPriceNote");
            return (Criteria) this;
        }

        public Criteria andMinPriceNoteNotEqualTo(String value) {
            addCriterion("min_price_note <>", value, "minPriceNote");
            return (Criteria) this;
        }

        public Criteria andMinPriceNoteGreaterThan(String value) {
            addCriterion("min_price_note >", value, "minPriceNote");
            return (Criteria) this;
        }

        public Criteria andMinPriceNoteGreaterThanOrEqualTo(String value) {
            addCriterion("min_price_note >=", value, "minPriceNote");
            return (Criteria) this;
        }

        public Criteria andMinPriceNoteLessThan(String value) {
            addCriterion("min_price_note <", value, "minPriceNote");
            return (Criteria) this;
        }

        public Criteria andMinPriceNoteLessThanOrEqualTo(String value) {
            addCriterion("min_price_note <=", value, "minPriceNote");
            return (Criteria) this;
        }

        public Criteria andMinPriceNoteLike(String value) {
            addCriterion("min_price_note like", value, "minPriceNote");
            return (Criteria) this;
        }

        public Criteria andMinPriceNoteNotLike(String value) {
            addCriterion("min_price_note not like", value, "minPriceNote");
            return (Criteria) this;
        }

        public Criteria andMinPriceNoteIn(List<String> values) {
            addCriterion("min_price_note in", values, "minPriceNote");
            return (Criteria) this;
        }

        public Criteria andMinPriceNoteNotIn(List<String> values) {
            addCriterion("min_price_note not in", values, "minPriceNote");
            return (Criteria) this;
        }

        public Criteria andMinPriceNoteBetween(String value1, String value2) {
            addCriterion("min_price_note between", value1, value2, "minPriceNote");
            return (Criteria) this;
        }

        public Criteria andMinPriceNoteNotBetween(String value1, String value2) {
            addCriterion("min_price_note not between", value1, value2, "minPriceNote");
            return (Criteria) this;
        }

        public Criteria andImgUrlIsNull() {
            addCriterion("img_url is null");
            return (Criteria) this;
        }

        public Criteria andImgUrlIsNotNull() {
            addCriterion("img_url is not null");
            return (Criteria) this;
        }

        public Criteria andImgUrlEqualTo(String value) {
            addCriterion("img_url =", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlNotEqualTo(String value) {
            addCriterion("img_url <>", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlGreaterThan(String value) {
            addCriterion("img_url >", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("img_url >=", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlLessThan(String value) {
            addCriterion("img_url <", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlLessThanOrEqualTo(String value) {
            addCriterion("img_url <=", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlLike(String value) {
            addCriterion("img_url like", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlNotLike(String value) {
            addCriterion("img_url not like", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlIn(List<String> values) {
            addCriterion("img_url in", values, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlNotIn(List<String> values) {
            addCriterion("img_url not in", values, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlBetween(String value1, String value2) {
            addCriterion("img_url between", value1, value2, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlNotBetween(String value1, String value2) {
            addCriterion("img_url not between", value1, value2, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andNeedNumIsNull() {
            addCriterion("need_num is null");
            return (Criteria) this;
        }

        public Criteria andNeedNumIsNotNull() {
            addCriterion("need_num is not null");
            return (Criteria) this;
        }

        public Criteria andNeedNumEqualTo(Integer value) {
            addCriterion("need_num =", value, "needNum");
            return (Criteria) this;
        }

        public Criteria andNeedNumNotEqualTo(Integer value) {
            addCriterion("need_num <>", value, "needNum");
            return (Criteria) this;
        }

        public Criteria andNeedNumGreaterThan(Integer value) {
            addCriterion("need_num >", value, "needNum");
            return (Criteria) this;
        }

        public Criteria andNeedNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("need_num >=", value, "needNum");
            return (Criteria) this;
        }

        public Criteria andNeedNumLessThan(Integer value) {
            addCriterion("need_num <", value, "needNum");
            return (Criteria) this;
        }

        public Criteria andNeedNumLessThanOrEqualTo(Integer value) {
            addCriterion("need_num <=", value, "needNum");
            return (Criteria) this;
        }

        public Criteria andNeedNumIn(List<Integer> values) {
            addCriterion("need_num in", values, "needNum");
            return (Criteria) this;
        }

        public Criteria andNeedNumNotIn(List<Integer> values) {
            addCriterion("need_num not in", values, "needNum");
            return (Criteria) this;
        }

        public Criteria andNeedNumBetween(Integer value1, Integer value2) {
            addCriterion("need_num between", value1, value2, "needNum");
            return (Criteria) this;
        }

        public Criteria andNeedNumNotBetween(Integer value1, Integer value2) {
            addCriterion("need_num not between", value1, value2, "needNum");
            return (Criteria) this;
        }

        public Criteria andCurNumIsNull() {
            addCriterion("cur_num is null");
            return (Criteria) this;
        }

        public Criteria andCurNumIsNotNull() {
            addCriterion("cur_num is not null");
            return (Criteria) this;
        }

        public Criteria andCurNumEqualTo(Integer value) {
            addCriterion("cur_num =", value, "curNum");
            return (Criteria) this;
        }

        public Criteria andCurNumNotEqualTo(Integer value) {
            addCriterion("cur_num <>", value, "curNum");
            return (Criteria) this;
        }

        public Criteria andCurNumGreaterThan(Integer value) {
            addCriterion("cur_num >", value, "curNum");
            return (Criteria) this;
        }

        public Criteria andCurNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("cur_num >=", value, "curNum");
            return (Criteria) this;
        }

        public Criteria andCurNumLessThan(Integer value) {
            addCriterion("cur_num <", value, "curNum");
            return (Criteria) this;
        }

        public Criteria andCurNumLessThanOrEqualTo(Integer value) {
            addCriterion("cur_num <=", value, "curNum");
            return (Criteria) this;
        }

        public Criteria andCurNumIn(List<Integer> values) {
            addCriterion("cur_num in", values, "curNum");
            return (Criteria) this;
        }

        public Criteria andCurNumNotIn(List<Integer> values) {
            addCriterion("cur_num not in", values, "curNum");
            return (Criteria) this;
        }

        public Criteria andCurNumBetween(Integer value1, Integer value2) {
            addCriterion("cur_num between", value1, value2, "curNum");
            return (Criteria) this;
        }

        public Criteria andCurNumNotBetween(Integer value1, Integer value2) {
            addCriterion("cur_num not between", value1, value2, "curNum");
            return (Criteria) this;
        }

        public Criteria andNoteIsNull() {
            addCriterion("note is null");
            return (Criteria) this;
        }

        public Criteria andNoteIsNotNull() {
            addCriterion("note is not null");
            return (Criteria) this;
        }

        public Criteria andNoteEqualTo(String value) {
            addCriterion("note =", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotEqualTo(String value) {
            addCriterion("note <>", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThan(String value) {
            addCriterion("note >", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThanOrEqualTo(String value) {
            addCriterion("note >=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThan(String value) {
            addCriterion("note <", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThanOrEqualTo(String value) {
            addCriterion("note <=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLike(String value) {
            addCriterion("note like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotLike(String value) {
            addCriterion("note not like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteIn(List<String> values) {
            addCriterion("note in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotIn(List<String> values) {
            addCriterion("note not in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteBetween(String value1, String value2) {
            addCriterion("note between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotBetween(String value1, String value2) {
            addCriterion("note not between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andCreateEmpIsNull() {
            addCriterion("create_emp is null");
            return (Criteria) this;
        }

        public Criteria andCreateEmpIsNotNull() {
            addCriterion("create_emp is not null");
            return (Criteria) this;
        }

        public Criteria andCreateEmpEqualTo(String value) {
            addCriterion("create_emp =", value, "createEmp");
            return (Criteria) this;
        }

        public Criteria andCreateEmpNotEqualTo(String value) {
            addCriterion("create_emp <>", value, "createEmp");
            return (Criteria) this;
        }

        public Criteria andCreateEmpGreaterThan(String value) {
            addCriterion("create_emp >", value, "createEmp");
            return (Criteria) this;
        }

        public Criteria andCreateEmpGreaterThanOrEqualTo(String value) {
            addCriterion("create_emp >=", value, "createEmp");
            return (Criteria) this;
        }

        public Criteria andCreateEmpLessThan(String value) {
            addCriterion("create_emp <", value, "createEmp");
            return (Criteria) this;
        }

        public Criteria andCreateEmpLessThanOrEqualTo(String value) {
            addCriterion("create_emp <=", value, "createEmp");
            return (Criteria) this;
        }

        public Criteria andCreateEmpLike(String value) {
            addCriterion("create_emp like", value, "createEmp");
            return (Criteria) this;
        }

        public Criteria andCreateEmpNotLike(String value) {
            addCriterion("create_emp not like", value, "createEmp");
            return (Criteria) this;
        }

        public Criteria andCreateEmpIn(List<String> values) {
            addCriterion("create_emp in", values, "createEmp");
            return (Criteria) this;
        }

        public Criteria andCreateEmpNotIn(List<String> values) {
            addCriterion("create_emp not in", values, "createEmp");
            return (Criteria) this;
        }

        public Criteria andCreateEmpBetween(String value1, String value2) {
            addCriterion("create_emp between", value1, value2, "createEmp");
            return (Criteria) this;
        }

        public Criteria andCreateEmpNotBetween(String value1, String value2) {
            addCriterion("create_emp not between", value1, value2, "createEmp");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUseCycleIsNull() {
            addCriterion("use_cycle is null");
            return (Criteria) this;
        }

        public Criteria andUseCycleIsNotNull() {
            addCriterion("use_cycle is not null");
            return (Criteria) this;
        }

        public Criteria andUseCycleEqualTo(String value) {
            addCriterion("use_cycle =", value, "useCycle");
            return (Criteria) this;
        }

        public Criteria andUseCycleNotEqualTo(String value) {
            addCriterion("use_cycle <>", value, "useCycle");
            return (Criteria) this;
        }

        public Criteria andUseCycleGreaterThan(String value) {
            addCriterion("use_cycle >", value, "useCycle");
            return (Criteria) this;
        }

        public Criteria andUseCycleGreaterThanOrEqualTo(String value) {
            addCriterion("use_cycle >=", value, "useCycle");
            return (Criteria) this;
        }

        public Criteria andUseCycleLessThan(String value) {
            addCriterion("use_cycle <", value, "useCycle");
            return (Criteria) this;
        }

        public Criteria andUseCycleLessThanOrEqualTo(String value) {
            addCriterion("use_cycle <=", value, "useCycle");
            return (Criteria) this;
        }

        public Criteria andUseCycleLike(String value) {
            addCriterion("use_cycle like", value, "useCycle");
            return (Criteria) this;
        }

        public Criteria andUseCycleNotLike(String value) {
            addCriterion("use_cycle not like", value, "useCycle");
            return (Criteria) this;
        }

        public Criteria andUseCycleIn(List<String> values) {
            addCriterion("use_cycle in", values, "useCycle");
            return (Criteria) this;
        }

        public Criteria andUseCycleNotIn(List<String> values) {
            addCriterion("use_cycle not in", values, "useCycle");
            return (Criteria) this;
        }

        public Criteria andUseCycleBetween(String value1, String value2) {
            addCriterion("use_cycle between", value1, value2, "useCycle");
            return (Criteria) this;
        }

        public Criteria andUseCycleNotBetween(String value1, String value2) {
            addCriterion("use_cycle not between", value1, value2, "useCycle");
            return (Criteria) this;
        }

        public Criteria andUserdef1IsNull() {
            addCriterion("userdef1 is null");
            return (Criteria) this;
        }

        public Criteria andUserdef1IsNotNull() {
            addCriterion("userdef1 is not null");
            return (Criteria) this;
        }

        public Criteria andUserdef1EqualTo(String value) {
            addCriterion("userdef1 =", value, "userdef1");
            return (Criteria) this;
        }

        public Criteria andUserdef1NotEqualTo(String value) {
            addCriterion("userdef1 <>", value, "userdef1");
            return (Criteria) this;
        }

        public Criteria andUserdef1GreaterThan(String value) {
            addCriterion("userdef1 >", value, "userdef1");
            return (Criteria) this;
        }

        public Criteria andUserdef1GreaterThanOrEqualTo(String value) {
            addCriterion("userdef1 >=", value, "userdef1");
            return (Criteria) this;
        }

        public Criteria andUserdef1LessThan(String value) {
            addCriterion("userdef1 <", value, "userdef1");
            return (Criteria) this;
        }

        public Criteria andUserdef1LessThanOrEqualTo(String value) {
            addCriterion("userdef1 <=", value, "userdef1");
            return (Criteria) this;
        }

        public Criteria andUserdef1Like(String value) {
            addCriterion("userdef1 like", value, "userdef1");
            return (Criteria) this;
        }

        public Criteria andUserdef1NotLike(String value) {
            addCriterion("userdef1 not like", value, "userdef1");
            return (Criteria) this;
        }

        public Criteria andUserdef1In(List<String> values) {
            addCriterion("userdef1 in", values, "userdef1");
            return (Criteria) this;
        }

        public Criteria andUserdef1NotIn(List<String> values) {
            addCriterion("userdef1 not in", values, "userdef1");
            return (Criteria) this;
        }

        public Criteria andUserdef1Between(String value1, String value2) {
            addCriterion("userdef1 between", value1, value2, "userdef1");
            return (Criteria) this;
        }

        public Criteria andUserdef1NotBetween(String value1, String value2) {
            addCriterion("userdef1 not between", value1, value2, "userdef1");
            return (Criteria) this;
        }

        public Criteria andUserdef2IsNull() {
            addCriterion("userdef2 is null");
            return (Criteria) this;
        }

        public Criteria andUserdef2IsNotNull() {
            addCriterion("userdef2 is not null");
            return (Criteria) this;
        }

        public Criteria andUserdef2EqualTo(String value) {
            addCriterion("userdef2 =", value, "userdef2");
            return (Criteria) this;
        }

        public Criteria andUserdef2NotEqualTo(String value) {
            addCriterion("userdef2 <>", value, "userdef2");
            return (Criteria) this;
        }

        public Criteria andUserdef2GreaterThan(String value) {
            addCriterion("userdef2 >", value, "userdef2");
            return (Criteria) this;
        }

        public Criteria andUserdef2GreaterThanOrEqualTo(String value) {
            addCriterion("userdef2 >=", value, "userdef2");
            return (Criteria) this;
        }

        public Criteria andUserdef2LessThan(String value) {
            addCriterion("userdef2 <", value, "userdef2");
            return (Criteria) this;
        }

        public Criteria andUserdef2LessThanOrEqualTo(String value) {
            addCriterion("userdef2 <=", value, "userdef2");
            return (Criteria) this;
        }

        public Criteria andUserdef2Like(String value) {
            addCriterion("userdef2 like", value, "userdef2");
            return (Criteria) this;
        }

        public Criteria andUserdef2NotLike(String value) {
            addCriterion("userdef2 not like", value, "userdef2");
            return (Criteria) this;
        }

        public Criteria andUserdef2In(List<String> values) {
            addCriterion("userdef2 in", values, "userdef2");
            return (Criteria) this;
        }

        public Criteria andUserdef2NotIn(List<String> values) {
            addCriterion("userdef2 not in", values, "userdef2");
            return (Criteria) this;
        }

        public Criteria andUserdef2Between(String value1, String value2) {
            addCriterion("userdef2 between", value1, value2, "userdef2");
            return (Criteria) this;
        }

        public Criteria andUserdef2NotBetween(String value1, String value2) {
            addCriterion("userdef2 not between", value1, value2, "userdef2");
            return (Criteria) this;
        }

        public Criteria andUserdef3IsNull() {
            addCriterion("userdef3 is null");
            return (Criteria) this;
        }

        public Criteria andUserdef3IsNotNull() {
            addCriterion("userdef3 is not null");
            return (Criteria) this;
        }

        public Criteria andUserdef3EqualTo(String value) {
            addCriterion("userdef3 =", value, "userdef3");
            return (Criteria) this;
        }

        public Criteria andUserdef3NotEqualTo(String value) {
            addCriterion("userdef3 <>", value, "userdef3");
            return (Criteria) this;
        }

        public Criteria andUserdef3GreaterThan(String value) {
            addCriterion("userdef3 >", value, "userdef3");
            return (Criteria) this;
        }

        public Criteria andUserdef3GreaterThanOrEqualTo(String value) {
            addCriterion("userdef3 >=", value, "userdef3");
            return (Criteria) this;
        }

        public Criteria andUserdef3LessThan(String value) {
            addCriterion("userdef3 <", value, "userdef3");
            return (Criteria) this;
        }

        public Criteria andUserdef3LessThanOrEqualTo(String value) {
            addCriterion("userdef3 <=", value, "userdef3");
            return (Criteria) this;
        }

        public Criteria andUserdef3Like(String value) {
            addCriterion("userdef3 like", value, "userdef3");
            return (Criteria) this;
        }

        public Criteria andUserdef3NotLike(String value) {
            addCriterion("userdef3 not like", value, "userdef3");
            return (Criteria) this;
        }

        public Criteria andUserdef3In(List<String> values) {
            addCriterion("userdef3 in", values, "userdef3");
            return (Criteria) this;
        }

        public Criteria andUserdef3NotIn(List<String> values) {
            addCriterion("userdef3 not in", values, "userdef3");
            return (Criteria) this;
        }

        public Criteria andUserdef3Between(String value1, String value2) {
            addCriterion("userdef3 between", value1, value2, "userdef3");
            return (Criteria) this;
        }

        public Criteria andUserdef3NotBetween(String value1, String value2) {
            addCriterion("userdef3 not between", value1, value2, "userdef3");
            return (Criteria) this;
        }

        public Criteria andUserdef4IsNull() {
            addCriterion("userdef4 is null");
            return (Criteria) this;
        }

        public Criteria andUserdef4IsNotNull() {
            addCriterion("userdef4 is not null");
            return (Criteria) this;
        }

        public Criteria andUserdef4EqualTo(String value) {
            addCriterion("userdef4 =", value, "userdef4");
            return (Criteria) this;
        }

        public Criteria andUserdef4NotEqualTo(String value) {
            addCriterion("userdef4 <>", value, "userdef4");
            return (Criteria) this;
        }

        public Criteria andUserdef4GreaterThan(String value) {
            addCriterion("userdef4 >", value, "userdef4");
            return (Criteria) this;
        }

        public Criteria andUserdef4GreaterThanOrEqualTo(String value) {
            addCriterion("userdef4 >=", value, "userdef4");
            return (Criteria) this;
        }

        public Criteria andUserdef4LessThan(String value) {
            addCriterion("userdef4 <", value, "userdef4");
            return (Criteria) this;
        }

        public Criteria andUserdef4LessThanOrEqualTo(String value) {
            addCriterion("userdef4 <=", value, "userdef4");
            return (Criteria) this;
        }

        public Criteria andUserdef4Like(String value) {
            addCriterion("userdef4 like", value, "userdef4");
            return (Criteria) this;
        }

        public Criteria andUserdef4NotLike(String value) {
            addCriterion("userdef4 not like", value, "userdef4");
            return (Criteria) this;
        }

        public Criteria andUserdef4In(List<String> values) {
            addCriterion("userdef4 in", values, "userdef4");
            return (Criteria) this;
        }

        public Criteria andUserdef4NotIn(List<String> values) {
            addCriterion("userdef4 not in", values, "userdef4");
            return (Criteria) this;
        }

        public Criteria andUserdef4Between(String value1, String value2) {
            addCriterion("userdef4 between", value1, value2, "userdef4");
            return (Criteria) this;
        }

        public Criteria andUserdef4NotBetween(String value1, String value2) {
            addCriterion("userdef4 not between", value1, value2, "userdef4");
            return (Criteria) this;
        }

        public Criteria andMktIdLikeInsensitive(String value) {
            addCriterion("upper(MKT_ID) like", value.toUpperCase(), "mktId");
            return (Criteria) this;
        }

        public Criteria andTypeLikeInsensitive(String value) {
            addCriterion("upper(type) like", value.toUpperCase(), "type");
            return (Criteria) this;
        }

        public Criteria andNameLikeInsensitive(String value) {
            addCriterion("upper(name) like", value.toUpperCase(), "name");
            return (Criteria) this;
        }

        public Criteria andMinPriceNoteLikeInsensitive(String value) {
            addCriterion("upper(min_price_note) like", value.toUpperCase(), "minPriceNote");
            return (Criteria) this;
        }

        public Criteria andImgUrlLikeInsensitive(String value) {
            addCriterion("upper(img_url) like", value.toUpperCase(), "imgUrl");
            return (Criteria) this;
        }

        public Criteria andNoteLikeInsensitive(String value) {
            addCriterion("upper(note) like", value.toUpperCase(), "note");
            return (Criteria) this;
        }

        public Criteria andCreateEmpLikeInsensitive(String value) {
            addCriterion("upper(create_emp) like", value.toUpperCase(), "createEmp");
            return (Criteria) this;
        }

        public Criteria andUseCycleLikeInsensitive(String value) {
            addCriterion("upper(use_cycle) like", value.toUpperCase(), "useCycle");
            return (Criteria) this;
        }

        public Criteria andUserdef1LikeInsensitive(String value) {
            addCriterion("upper(userdef1) like", value.toUpperCase(), "userdef1");
            return (Criteria) this;
        }

        public Criteria andUserdef2LikeInsensitive(String value) {
            addCriterion("upper(userdef2) like", value.toUpperCase(), "userdef2");
            return (Criteria) this;
        }

        public Criteria andUserdef3LikeInsensitive(String value) {
            addCriterion("upper(userdef3) like", value.toUpperCase(), "userdef3");
            return (Criteria) this;
        }

        public Criteria andUserdef4LikeInsensitive(String value) {
            addCriterion("upper(userdef4) like", value.toUpperCase(), "userdef4");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {
        private static final long serialVersionUID = 1L;

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private static final long serialVersionUID = 1L;

        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}